package cn.hxz.bean;

//bean 工厂
public class Bean1Factory {
    //静态工厂生产bean对象
    public static Student createBean() {
        System.out.println("静态实例");
        return new Student();
    }
}
